<template>
  <div class="tips">{{ content.title }}</div>
  <van-cell-group inset class="shadow aa">
    <div class="area">
      <div>地址：{{ content.address }}</div>
      <div>联系人：{{ content.contacts }}</div>
      <div>电话：{{ content.iphone }}</div>
    </div>
  </van-cell-group>
</template>

<script setup lang="ts">
interface Props {
  content: {
    title: string
    address: string
    contacts: string
    iphone: string
  }
}

const props = defineProps<Props>()
</script>

<style lang="less" scoped>
.tips {
  width: calc(100% - 30px);
  height: 25px;
  background: url('../../assets/image/bg.png') no-repeat;
  background-size: 65%;
  line-height: 27px;
  padding: 0px 5px;
  margin: 5px auto;
  margin-top: 15px;
  color: white;
  font-size: 15px;
}

.area {
  font-size: 14px;

  div {
    padding: 8px 0px;
    margin: 0 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }

  div:first-child {
    border: none;
  }
}

.shadow {
  box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
}
</style>
